aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2024-01-27 00:29:34 +0000
committerMichael Williamson <mike@zwobble.org>2024-01-27 00:29:45 +0000
commit4e116e25a5c0d9b9b7f92e3c363a93902eaf19d6 (patch)
tree5f9f838714bc1b604f1e8873684e322a9326c028 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parentfa664754ddf04071414d2d103402b0028af681c1 (diff)
Reduce size of GC header
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected10
1 files changed, 5 insertions, 5 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index d6513a1d..d6376954 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioTupleCreateTests]/[method:canGenerateCodeForTupleCreate(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -3,7 +3,7 @@ Compilation unit elements:
(
function-decl
"shed__runtime__gc_alloc"
- params=((param "size" int) (param "children_offset" int) (param "children_count" int))
+ params=((param "size" int) (param "children_offset" int32) (param "children_count" int32))
return-type=data-ptr
)
@@ -20,25 +20,25 @@ Instructions:
(local-store (local "tupleElement__2__0") (local "d"))
(local-store (local "tupleElement__1__0") (local "c"))
(local-store (local "tupleElement__0__0") (local "b"))
- (call (local "tuplePointer__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int int int)) (struct (int int int)))))) (int-const (byte-offset-of (struct ((struct (data-ptr int int int)) (struct (int int int)))) (1))) (int-const 3)))
+ (call (local "tuplePointer__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int int32 int32)) (struct (int int int)))))) (int32-const (byte-offset-of (struct ((struct (data-ptr int int32 int32)) (struct (int int int)))) (1))) (int32-const 3)))
(
memory-store
pointer=(local "tuplePointer__0")
- layout=(struct ((struct (data-ptr int int int)) (struct (int int int))))
+ layout=(struct ((struct (data-ptr int int32 int32)) (struct (int int int))))
offset=(1 0)
value=(local "tupleElement__0__0")
)
(
memory-store
pointer=(local "tuplePointer__0")
- layout=(struct ((struct (data-ptr int int int)) (struct (int int int))))
+ layout=(struct ((struct (data-ptr int int32 int32)) (struct (int int int))))
offset=(1 1)
value=(local "tupleElement__1__0")
)
(
memory-store
pointer=(local "tuplePointer__0")
- layout=(struct ((struct (data-ptr int int int)) (struct (int int int))))
+ layout=(struct ((struct (data-ptr int int32 int32)) (struct (int int int))))
offset=(1 2)
value=(local "tupleElement__2__0")
)